/*
 * @Author: Author && Email
 * @Date: 2024-04-14 17:43:23
 * @LastEditors: Author && Email
 * @LastEditTime: 2024-04-14 17:53:01
 * @FilePath: \MDK-ARMd:\WorkSpace\PRJ\MFBT\sw\mfbt\User\app\api_hard.h
 * @Description: 
 * 
 * Copyright (c) 2024 by ${git_name_email}, All Rights Reserved. 
 */
#ifndef _API_HARD_H_
#define _API_HARD_H_
#include "bsp_include.h"

typedef struct{
	uint8_t mcu_led:1;		/* MCU_LED */

	uint8_t beep:1;			/* 蜂鸣器 */
	uint8_t single_led:1;	/* SINGLE_LED */
	uint8_t relay:1;		/* 继电器 */
	
	uint8_t key1:1;			/* 按键1 */
	uint8_t key2:1;			/* 按键2 */
	uint8_t key3:1;			/* 按键3 */
	uint8_t key4:1;			/* 按键4 */
	uint8_t key5:1;			/* 按键5 */
}hard_t;

extern hard_t g_hard;

void api_hard_init(void);
void api_hard_read(void);
void api_hard_load(void);

#endif /* _API_HARD_H_ */
